<template>
  <div class="comp-programme-advantag-wrapper">
    <h4>{{ proInsuranceInfo.advantagH3 }}</h4>
    <div class="advantage-list">
      <ul>
        <li v-for="(item, index) in proAdvantageList" :key="index">
          <span class="iconfont" :class="item.listIcont"></span>
          <p>{{ item.listP1 }}</p>
          <p>
            {{ item.listP2 }}
          </p>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  name: "ProAdvantag",
  props: {
    proInsuranceInfo: {
      type: Object,
      default: {},
    },
    proAdvantageList: {
      type: Array,
      default: [],
    },
  },
};
</script>

<style scoped lang="less">
.comp-programme-advantag-wrapper {
  background-color: #f4f8fb;
  overflow: hidden;
  h4 {
    margin-top: 50px;
    font-size: 34px;
  }
  .advantage-list {
    width: 1088px;
    margin: 0 auto;
    ul {
      li {
        width: 187px;
        float: left;
        margin-left: 30px;
        margin-top: 64px;
        span {
          display: block;
          width: 187px;
          height: 187px;
          margin: 0 auto;
          background: #ffffff;
          border-radius: 50%;
          text-align: center;
          line-height: 187px;
        }
        p:nth-of-type(1) {
          font-size: 18px;
          font-weight: 400;
          line-height: 24px;
          padding-top: 35px;
        }
        p:nth-last-child(1) {
          font-size: 16px;
          padding-bottom: 70px;
        }
        .iconfont {
          color: rgb(56, 128, 231);
        }
      }
    }
  }
}
</style>